home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / Shape.java < prev    next >
Text File  |  1998-09-22  |  1KB  |  38 lines

  1. /*
  2.  * @(#)Shape.java    1.4 98/07/01
  3.  *
  4.  * Copyright 1995-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.awt;
  16.  
  17. /**
  18.  * The interface for objects which represent some form of geometric
  19.  * shape.
  20.  * <p>
  21.  * This interface will be revised in the upcoming Java2D project.
  22.  * It is meant to provide a common interface for various existing
  23.  * geometric AWT classes and methods which operate on them.  Since
  24.  * it may be superseded or expanded in the future, developers should
  25.  * avoid implementing this interface in their own classes until it
  26.  * is completed in a later release.
  27.  *
  28.  * @version 1.4 07/01/98
  29.  * @author Jim Graham
  30.  */
  31.  
  32. public interface Shape {
  33.     /**
  34.      * Return the bounding box of the shape.
  35.      */
  36.     public Rectangle getBounds();
  37. }
  38.